<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Login</title>
		<%= javascript_include_tag :defaults %>
		<%= stylesheet_link_tag 'scaffold' %>
		<%= stylesheet_link_tag "main.css"%>
		<%= stylesheet_link_tag "page.css"%>
	</head>
	<body onload="document.getElementById('btnLogin').focus();">
		<p style="color: green"><%= flash[:notice] %></p>
	

<div class="blank10"></div>
<%= error_messages_for :login %>
<div id="title1" align="left"> <%=image_tag "title_icon1.gif"%><%=image_tag "title_login.gif"%>
<h3 class="padding01">不是会员，请<%=link_to "注册",{:controller=>'personal_management',:action=>'register'},:target=>"mainFrame"%></h3>  
</div>

<div id="LoginMainDiv"> <span></span>
  <div class="Contentbox">
  	  <div id="con_one_1" class="hover">   
	  <div class="login">
				<%form_tag do%>
						<div class ="titleName">用户名:</div>
						<%=text_field_tag :name, params[:name]%>
		
					<div class="blank14"></div>
	
						<div class ="titleName">密码:</div>
						<%=password_field_tag :password, params[:password]%>
					<div class="blank14"></div>

						<div class ="titleName">身　份:</div>
						<select  class="whith150" name="role">
				        <option  selected="selected">我是客户</option>
				        <option>我是商家</option>
							
						</select>
						<div class="blank14"></div>
					
						<div id="divSubmit">
							
						<li class="btns"><%= link_to '<span>登　　录</span>',{}, {:id=>'btnLogin',:onclick=>'javascript:document.forms[0].submit();return false;'} %></li>
    	 						
						</div>  

				<%end%>
			
        <div class="blank20"></div>

    </div>
</div>

</div>
</div>




	</body>
</html>
